const request = require('../libs/request.js');
const questionService = {
  //问答列表
  getQuestionList: (data) => {
    return request({
      url: "/wenda/list",
      data: data
    });
  },
  //问答详情
  getQuestionDetail: (data) => {
    return request({
      url: "/wenda/detail",
      data: data
    });
  },
  //问答点赞
  getQuestionCheckLike: (data) => {
    return request({
      url: "/wenda/checkLike",
      data: data
    });
  },
  //添加问答
  addQuestion: (data) => {
    return request({
      url: "/wenda/add",
      data: data,
    });
  },
}
module.exports = questionService;